<template>
  <div id="box">
    <Header></Header>

    <div>
      <SlideBar/>
      <div id="main">
       <keep-alive>
         <router-view/>
       </keep-alive>
      </div>
    </div>

  </div>
</template>

<script>
  import Header from '@/components/Header';
  import SlideBar from '@/components/SlideBar';

  export default {
    name: "Main",
    components: {
      Header, SlideBar
    }
  }
</script>

<style scoped>
  #box {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }

  #main {
    left: 200px;
    top: 81px;
    position: absolute;
    right: 0;
    padding: 10px;
    bottom: 0;
    background: #ffb642;
  }
</style>
